import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Inward from '../view/inward.vue'

Vue.use(Router)

export default new Router({
  mode: 'history',
  routes: [{
      path: '/',
      name: '',
      desc: 'PC对外有盟友',
      component: () => import('../view/foreignData.vue')
    },
    {
      path: '/inward',
      name: 'Inward',
      desc: 'PC对内有盟友',
      component: () => import('../view/inward.vue')
    },
    {
      path: '/foreignData',
      name: 'foreignData',
      desc: 'PC对外有盟友',
      component: () => import('../view/foreignData.vue')
    },

    {
      path: '/countDown',
      name: '',
      desc: '倒计时',
      component: () => import('../components/countDown.vue')
    },
    {
      path: '/inwardUser',
      name: '',
      desc: '对内无盟友模块',
      component: () => import('../view/inwardUser.vue')
    },
    {
      path: '/foreignDataUser',
      name: '',
      desc: '对外无盟友模块',
      component: () => import('../view/foreignDataUser.vue')
    },
    {
      path: '/hangzhou',
      name: 'HZ',
      desc: '杭州测试',
      component: () => import('../view/hangzhou.vue')
    },
    {
      path: '/sichuanTest',
      name: 'SC',
      desc: '四川测试',
      component: () => import('../view/sichuanTest.vue')
    },
  ]
})
